//
//  TripsQueue.m
//  HappyTrip
//
//  Created by dlios on 15-3-28.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "TripsQueue.h"

@implementation TripsQueue

-(instancetype)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        self.name = [dic objectForKey:@"name"];
        self.popular_place_str = [dic objectForKey:@"popular_place_str"];
        self.recommendations = [dic objectForKey:@"recommendations"];
        self.day_count = [[dic objectForKey:@"day_count"] stringValue];
        self.Id = [[dic objectForKey:@"id"] stringValue];
        self.cover_image_w640 = [dic objectForKey:@"cover_image_w640"];
        self.user = [dic objectForKey:@"user"];
    }
    return self;
}


- (void)dealloc
{
    [_name release];
    [_popular_place_str release];
    [_recommendations release];
    [_Id release];
    [_day_count release];
    [_cover_image_w640 release];
    [super dealloc];
}

@end
